package www.sofn.com.member;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import www.sofn.com.member.domain.po.MemberPO;

import java.io.Serializable;
import java.math.BigDecimal;

@Mapper
public interface MemberMapper extends BaseMapper<MemberPO> {

    Boolean exitOpenid(@Param("openid") Serializable openid);

    void updateMemberIntegral(@Param("integral") BigDecimal integral,@Param("id") Serializable id);

    void updateMemberStatus(@Param("id") Serializable id);
}
